package cn.flexui.flexuiserver.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author wanmingyu
 * @create 2024/9/22 22:52
 */
@Schema(description = "会员卡详情")
@Data
public class MemberCardVo {

    @Schema(description = "会员卡ID")
    private Long memberId;

    @Schema(description = "会员卡名")
    private String cardName;

    @Schema(description = "卡金额")
    private BigDecimal amount;

    @Schema(description = "划线金额")
    private BigDecimal lineAmount;

    @Schema(description = "有效期")
    private Integer cardDay;

    @Schema(description = "周期")
    private String period;

    @Schema(description = "是否推荐")
    private Boolean recommend;

    @Schema(description = "权益列表")
    private List<RightConfigVo> rightList;
}
